package com.wenwo.properties;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @program: logging
 * @className: LogCollectUrl.java
 * @description:
 * @author: ZY
 * @create: 2020年08月02日 18:50
 **/

@Component
@Configuration
@ConfigurationProperties(prefix = "log-collect-url")
public class LogCollectUrlProperties {

    public static String methodInvokeUrl;

    @Value("${log-collect-url.methodInvokeUrl}")
    public void setMethodInvokeUrl(String methodInvokeUrl) {
        LogCollectUrlProperties.methodInvokeUrl = methodInvokeUrl;
    }

}
